﻿//using UnityEngine;
using System;
//using System.Collections;
//using System.Net;
//using System.Net.Sockets;

namespace Urd.Packet
{
	public class sendinfo
	{
       
		public packet tosend;
		public packet recieved;
		public TimeSpan lag;
		
	
		public sendinfo
			()
		{
            this.tosend = null;
            this.recieved = null;
			lag = TimeSpan.Zero;
		}
		
		public sendinfo
			(packet p)
		{
			this.tosend = p;
            this.recieved = null;
			lag = TimeSpan.Zero;
		}
		//sendinfo recieved
		public sendinfo
			(packet p, TimeSpan lag, packet psended)
		{
			this.tosend = psended;
			this.recieved = p;
			this.lag = lag;
		}
	}
}
